import { createRouter, createWebHistory } from 'vue-router'

import Login from '../views/Login'
import Patient from '../views/Patient'
import Admin from '../views/Admin'
const routes = [

  {
    path: '/',
    name: 'Login',
    component: Login
  },
  {
    path: '/Patient',
    name: 'Patient',
    component: Patient
  },
  {
    path: '/Admin',
    name: 'Admin',
    component: Admin
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
